import { StrictMode, Suspense } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
import "./assets/iconfont/iconfont.css";
import App from "./App.tsx";
import { ConfigProvider } from "antd";

createRoot(document.getElementById("root")!).render(
  <StrictMode>
    <ConfigProvider
      theme={{ cssVar: true }}
      pagination={{ className: "n-pagination" }}
    >
      <Suspense>
        <App />
      </Suspense>
    </ConfigProvider>
  </StrictMode>,
);
